home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / bin / xcfront < prev    next >
Text File  |  1994-03-10  |  602b  |  17 lines

  1. #!/bin/sh
  2. # xcfront; cycle through various modems until xc returns successful status
  3. # designed to be used within a csh alias, e.g.:
  4. #    alias xc 'cd /pub/jpr/comm ; xcfront \!*'
  5. # or a ksh alias, e.g.:
  6. #    alias -x xc='cd /pub/jpr/comm; xcfront $*'
  7. #
  8. # This changes you to a favorite directory used while communicating,
  9. # then runs 'xc' with any other command line parameters.
  10. # The MODEM list below should include all available ones, and 'xc'
  11. # is called until it finds one that's free.
  12.  
  13. MODEM=ttyA08 xc $* && exit 0
  14. MODEM=ttyA01 xc $* && exit 0
  15. MODEM=ttyA02 xc $* && exit 0
  16. MODEM=ttyA03 xc $* && exit 0
  17.